import { User } from '../users/user.dto'
import { Artist } from './artist.dto'
import { Album } from './album.dto'
import { ResourceFile } from './file.dto'
import { Score } from './score.dto'
import { Post } from './post.dto'
import { PlayList } from './play-list.dto'
import { Track } from './track.dto'

export interface Song {
  id: number;
  title: string;
  duration: number;
  audioFile: ResourceFile;
  mv: ResourceFile;
  playedCount: number;
  lyric: string;
  visible: boolean;
  belongsToArtists: Artist[];
  belongsToAlbum: Album;
  favByUsers: User[];
  favCount: number;
  inPlayLists: PlayList[];
  scores: Score[];
  tracks: Track[];
  relatedPosts: Post[];
  createdAt: Date;
  updatedAt: Date;
  deletedAt: Date;
}
